Created
June 21, 2012 21:29
-
-
Save Heavyblade/2968641 to your computer and use it in GitHub Desktop.
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
| Failures: | |
| 1) MembershipsController POST create with invalid params re-renders the 'new' template | |
| Failure/Error: response.should render_template("new") | |
| expecting <"new"> but rendering with <""> | |
| # ./spec/controllers/memberships_controller_spec.rb:104:in `block (4 levels) in <top (required)>' | |
| 2) MembershipsController PUT update with invalid params assigns the membership as @membership | |
| Failure/Error: put :update, {:id => @membership.to_param, :membership => {}} | |
| ActiveRecord::RecordNotFound: | |
| Couldn't find User without an ID | |
| # ./app/controllers/memberships_controller.rb:65:in `update' | |
| # ./spec/controllers/memberships_controller_spec.rb:137:in `block (4 levels) in <top (required)>' | |
| 3) MembershipsController DELETE destroy destroys the requested membership | |
| Failure/Error: delete :destroy, {:id => @membership.to_param} | |
| ActiveRecord::RecordNotFound: | |
| Couldn't find Membership without an ID | |
| # ./app/controllers/memberships_controller.rb:82:in `destroy' | |
| # ./spec/controllers/memberships_controller_spec.rb:147:in `block (4 levels) in <top (required)>' | |
| # ./spec/controllers/memberships_controller_spec.rb:146:in `block (3 levels) in <top (required)>' | |
| 4) MembershipsController DELETE destroy redirects to the memberships list | |
| Failure/Error: delete :destroy, {:id => @membership.to_param} | |
| ActiveRecord::RecordNotFound: | |
| Couldn't find Membership without an ID | |
| # ./app/controllers/memberships_controller.rb:82:in `destroy' | |
| # ./spec/controllers/memberships_controller_spec.rb:152:in `block (3 levels) in <top (required)>' | |
| 5) OaUserFactory User exists in system uid exists for provider assigns the user attribute logs find | |
| Failure/Error: @user = FactoryGirl.create :user, :identifiers => [FactoryGirl.create(:identifier, :type => "Email", :provider => "Email", :value => "bub@bob.com", :uid => "8675309")] | |
| RuntimeError: | |
| NotImplemented | |
| # ./app/models/identifier.rb:84:in `request_confirmation' | |
| # ./spec/models/oa_user_factory_spec.rb:7:in `block (2 levels) in <top (required)>' | |
| 6) OaUserFactory User does not exist in system assigns the user attribute logs find | |
| Failure/Error: @user = FactoryGirl.create :user, :identifiers => [FactoryGirl.create(:identifier, :type => "Email", :provider => "Email", :value => "bub@bob.com", :uid => "8675309")] | |
| RuntimeError: | |
| NotImplemented | |
| # ./app/models/identifier.rb:84:in `request_confirmation' | |
| # ./spec/models/oa_user_factory_spec.rb:7:in `block (2 levels) in <top (required)>' | |
| 7) User should confirm the phone number when the user is created only with his cellphone | |
| Failure/Error: new_user.primary_mobile.confirmed_at.should_not be_nil | |
| expected: not nil | |
| got: nil | |
| # ./spec/models/user_spec.rb:151:in `block (2 levels) in <top (required)>' | |
| 8) User should get a mobile primary number | |
| Failure/Error: user.primary_mobile.value.should == second_number.value | |
| expected: "12223334444" | |
| got: "15558675065" (using ==) | |
| # ./spec/models/user_spec.rb:166:in `block (2 levels) in <top (required)>' | |
| Finished in 8 minutes 54.45 seconds | |
| 151 examples, 8 failures, 8 pending | |
| Failed examples: | |
| rspec ./spec/controllers/memberships_controller_spec.rb:101 # MembershipsController POST create with invalid params re-renders the 'new' template | |
| rspec ./spec/controllers/memberships_controller_spec.rb:135 # MembershipsController PUT update with invalid params assigns the membership as @membership | |
| rspec ./spec/controllers/memberships_controller_spec.rb:145 # MembershipsController DELETE destroy destroys the requested membership | |
| rspec ./spec/controllers/memberships_controller_spec.rb:151 # MembershipsController DELETE destroy redirects to the memberships list | |
| rspec ./spec/models/oa_user_factory_spec.rb:18 # OaUserFactory User exists in system uid exists for provider assigns the user attribute logs find | |
| rspec ./spec/models/oa_user_factory_spec.rb:25 # OaUserFactory User does not exist in system assigns the user attribute logs find | |
| rspec ./spec/models/user_spec.rb:146 # User should confirm the phone number when the user is created only with his cellphone | |
| rspec ./spec/models/user_spec.rb:162 # User should get a mobile primary number | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment