Created
July 22, 2013 19:57
-
-
Save psykidellic/6057093 to your computer and use it in GitHub Desktop.
rspec return issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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