Tests for dashboard projects fixed
This commit is contained in:
parent
804ae05c58
commit
fce22dfa2f
3 changed files with 9 additions and 7 deletions
|
@ -9,7 +9,8 @@ module SharedProject
|
|||
|
||||
# Create a specific project called "Shop"
|
||||
And 'I own project "Shop"' do
|
||||
@project = create(:project, name: "Shop")
|
||||
@project = Project.find_by_name "Shop"
|
||||
@project ||= create(:project, name: "Shop")
|
||||
@project.team << [@user, :master]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue