Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaeftekhar committed Nov 3, 2023
1 parent 27cc272 commit f50edb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/helpers/ideas_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ module Admin
end

context "when answered and not published" do
let(:idea) { create(:idea, :answered, :unpublished, component: component) }
let(:idea) { create(:idea, :accepted_not_published, component: component) }

it "returns state" do
expect(subject).to eq("Answered Not published")
expect(subject).to eq("Not answered (Accepted to the next step)")
end
end
end
Expand Down

0 comments on commit f50edb6

Please sign in to comment.