-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some basic tests and fixed bug to display users #114
Conversation
@users = User.all(:joins => :person, | ||
:order => "people.last_name ASC", | ||
:select => "users.*, | ||
@users = User.joins(:person).order("people.last_name ASC").select("users.*, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
Please rebase and fix the remaining styling issues. Thanks |
end | ||
it "changes @contact's attributes" do | ||
patch :update, id: user.id | ||
expect(build(:user, email: 'example@incoherent.de', id: user.id).email).to eq('example@incoherent.de') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [110/80]
… controller for displaying users Fixes by hounci violations
some basic tests and fixed bug to display users
Merge osem master
Fixed bug in admin/users controller to display users.
Some basic tests for admin/users controller.