diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-18 22:43:44 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-18 22:43:44 +0400 |
commit | 552c6d4598f6396456c569cfece98ae469bfa84c (patch) | |
tree | eaee84e90d79fd0192aee86b41b852f4cc096f75 /spec | |
parent | 9ada67881970b05d4be49cbe329b4bf50ffe4f77 (diff) |
Make tests green for postgres
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/issues_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/requests/issues_spec.rb b/spec/requests/issues_spec.rb index a4b026862ef..e5ecb9590f8 100644 --- a/spec/requests/issues_spec.rb +++ b/spec/requests/issues_spec.rb @@ -91,13 +91,13 @@ describe "Issues" do title: title) end - issue = Issue.first # with title 'foobar' - issue.milestone = create(:milestone, project: project) - issue.assignee = nil - issue.save + @issue = Issue.first # with title 'foobar' + @issue.milestone = create(:milestone, project: project) + @issue.assignee = nil + @issue.save end - let(:issue) { Issue.first } + let(:issue) { @issue } it "should allow filtering by issues with no specified milestone" do visit project_issues_path(project, milestone_id: '0') |