diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2017-01-19 09:35:50 +0300 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2017-01-22 17:19:45 +0300 |
commit | a92c0f9c116a2d16106a8be4e802fc7dbb826e2f (patch) | |
tree | a231a052b55eff645cc71c1e75f6c0fdb88f9bda /spec/features/admin | |
parent | 125abfd4b2c72dd2b1b81cef259cb1004a8db800 (diff) |
Use archived trait for project in specs instead model column
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_projects_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_projects_spec.rb b/spec/features/admin/admin_projects_spec.rb index a5b88812b75..87a8f62687a 100644 --- a/spec/features/admin/admin_projects_spec.rb +++ b/spec/features/admin/admin_projects_spec.rb @@ -10,7 +10,7 @@ describe "Admin::Projects", feature: true do end describe "GET /admin/projects" do - let!(:archived_project) { create :project, :public, archived: true } + let!(:archived_project) { create :project, :public, :archived } before do visit admin_projects_path |