Skip to content
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

Merged
merged 2 commits into from
Jun 3, 2014

Conversation

gopesht
Copy link
Member

@gopesht gopesht commented May 12, 2014

Fixed bug in admin/users controller to display users.
Some basic tests for admin/users controller.

@users = User.all(:joins => :person,
:order => "people.last_name ASC",
:select => "users.*,
@users = User.joins(:person).order("people.last_name ASC").select("users.*,

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.

@hennevogel
Copy link
Member

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')

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]

@coveralls
Copy link

Coverage Status

Coverage increased (+0.44%) when pulling 64ece8f on gopesht:testing into 643b8b1 on openSUSE:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.41%) when pulling 82db2cc on gopesht:testing into 6b31644 on openSUSE:master.

… controller for displaying users

Fixes by hounci violations
bear454 added a commit that referenced this pull request Jun 3, 2014
some basic tests and fixed bug to display users
@bear454 bear454 merged commit 642cb06 into openSUSE:master Jun 3, 2014
@gopesht gopesht deleted the testing branch June 15, 2014 11:22
cycomachead added a commit to cycomachead/osem that referenced this pull request Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants