spec/lib/reader_user_spec.rb in radiant-reader-extension-3.0.11 vs spec/lib/reader_user_spec.rb in radiant-reader-extension-3.0.13

- old
+ new

@@ -15,17 +15,16 @@ describe "on update" do it "should update the attributes of an associated reader" do user.name = "Cardinal Fang" user.save! user.reader.name.should == "Cardinal Fang" - Reader.find_by_name("Cardinal Fang").should == readers(:user) end it "should update the associated reader's credentials" do - user.password = user.password_confirmation = 'bl0tto' + user.password = 'bl0tto' + user.password_confirmation = 'bl0tto' user.save! user.authenticated?('bl0tto').should be_true user.reader.valid_password?('bl0tto').should be_true - # ReaderSession.new(:login => reader.login, :password => 'bl0tto').should be_valid end end end