summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorChris Sepic2010-03-19 08:03:56 -0500
committerChris Sepic2010-03-19 08:03:56 -0500
commitfb215fe1509015a6100ef04781822c454f65fc29 (patch)
treef7ae49421d77983ea133347c98f9b5b86459dca3 /spec
parentd37a991568df31dd89521a09e1c9f25a5b9c4a94 (diff)
downloadevernote-fb215fe1509015a6100ef04781822c454f65fc29.tar.bz2
added note store wrapper, added readme example
Diffstat (limited to 'spec')
-rw-r--r--spec/evernote/note_store_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/evernote/note_store_spec.rb b/spec/evernote/note_store_spec.rb
new file mode 100644
index 0000000..366adbd
--- /dev/null
+++ b/spec/evernote/note_store_spec.rb
@@ -0,0 +1,10 @@
+require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
+
+describe "Evernote::NoteStore" do
+ it "should proxy methods" do
+ note_store = Evernote::NoteStore.new("http://sandbox.evernote.com/edam/note/")
+ note_store.instance_variable_get(:@client).should_receive(:foobar).and_return(nil)
+
+ note_store.foobar
+ end
+end