fix failing navigation spec

This commit is contained in:
zmagod 2017-11-23 15:30:08 +01:00
parent 930e3a86dc
commit 61be762b76
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ Feature: Addon versions
| email | password | password_confirmation | full_name | initials |
| admin@myorg.com | mypassword1234 | mypassword1234 | Karli Novak | KN |
And "admin@myorg.com" is in "BioSistemika Process" team as a "admin"
And is signed in with "admin@myorg.com", "mypassword1234"
And "admin@myorg.com" is signed in with "mypassword1234"
@javascript
Scenario: Open the sciNote addons modal

View file

@ -107,12 +107,12 @@ describe User, type: :model do
expect(table.macro).to eq(:has_many)
end
it 'have many repositories' do
it 'have many modified results' do
table = User.reflect_on_association(:modified_results)
expect(table.macro).to eq(:has_many)
end
it 'have many repositories' do
it 'have many modified steps' do
table = User.reflect_on_association(:modified_steps)
expect(table.macro).to eq(:has_many)
end