Skip to content

Instantly share code, notes, and snippets.

@psykidellic
Created July 22, 2013 19:57
Show Gist options
  • Select an option

  • Save psykidellic/6057093 to your computer and use it in GitHub Desktop.

Select an option

Save psykidellic/6057093 to your computer and use it in GitHub Desktop.
rspec return issue
describe "'getLibrary'" do
let (:user) { FactoryGirl.create(:user) }
let (:album) { FactoryGirl.create(:album) }
let (:library) { FactoryGirl.create(:library, :user => user, :album => album ) }
it "returns http success 200" do
sign_in user
post 'getLibrary'
puts response.body
response.should be_success
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment