spec/hallon/user_post_spec.rb in hallon-0.18.0 vs spec/hallon/user_post_spec.rb in hallon-0.18.1
- old
+ new
@@ -20,10 +20,10 @@
end
end
describe ".create" do
it "should return nil if the inboxpost failed" do
- Spotify.should_receive(:inbox_post_tracks).and_return(null_pointer)
+ spotify_api.should_receive(:inbox_post_tracks).and_return(null_pointer)
post.should be_nil
end
it "should allow you to post a single track" do
post = Hallon::User::Post.create("burgestrand", nil, tracks[0])