spec/BtSync/bt_sync_spec.rb in BtSync-0.2.1 vs spec/BtSync/bt_sync_spec.rb in BtSync-0.3.1

- old
+ new

@@ -9,11 +9,11 @@ it "can view a folder list" do VCR.use_cassette("get-folders") do @folder = @bt.get_folders.first end - @folder["name"].should == "/home/chris/Documents" + @folder.name.should == "/home/chris/Documents" end it "can view settings" do VCR.use_cassette("get-settings") do @settings = @bt.get_settings end @@ -38,18 +38,18 @@ end VCR.use_cassette("add-folder-list") do folders = @bt.get_folders folders.count.should == 2 folder = folders.last - folder["name"].should == "/home/chris/bt_test" + folder.name.should == "/home/chris/bt_test" end VCR.use_cassette("remove-folder") do @bt.remove_folder '/home/chris/bt_test' end VCR.use_cassette("remove-folder-list") do folders = @bt.get_folders folders.count.should == 1 folder = folders.last - folder["name"].should == "/home/chris/Documents" + folder.name.should == "/home/chris/Documents" end end end \ No newline at end of file