Skip to content

Commit

Permalink
Failing test for #37
Browse files Browse the repository at this point in the history
  • Loading branch information
manner committed Nov 8, 2017
1 parent 5898d32 commit 4be4d59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/features/paper/edit_paper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,14 @@
visit edit_paper_path(paper)
end

it "should allow updating author information" do
paper = FactoryGirl.create :paper
expect(paper.venue).to_not eq('Mind 49')

visit edit_paper_path(paper)
fill_in "paper_venue", :with => 'Mind 49'
find('input[type="submit"]').click
paper.reload
expect(paper.venue).to eq('Mind 49')
end
end

0 comments on commit 4be4d59

Please sign in to comment.