Skip to content

Commit

Permalink
Add osx bin to slugignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaungs committed May 12, 2017
1 parent dadb027 commit 580ac81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .slugignore
@@ -1,2 +1,3 @@
/spec
/client/tests
bin/wkhtmltopdf
Expand Up @@ -3,9 +3,9 @@

feature "User adding reviewer candidates", js: true do
let(:admin) { create :user, :site_admin, first_name: 'Admin' }
let!(:paper) do
create :paper, :with_integration_journal, :with_tasks, creator: admin
end
let!(:paper) { create :paper, :with_integration_journal, :with_tasks, creator: admin }
let(:reason) { 'Because they do good work' }

let!(:reviewer_recommendations_task) do
FactoryGirl.create(
:reviewer_recommendations_task,
Expand Down Expand Up @@ -46,15 +46,15 @@
find(".email input[type=text]").set "barb@example.com"
choose "Recommend"
wait_for_editors
set_rich_text(editor: 'reviewer_recommendations--reason', text: 'Because they do good work')
set_rich_text(editor: 'reviewer_recommendations--reason', text: reason)
click_button "done"
end

# See the new reviewer
within ".reviewer" do
expect(page).to have_selector(".full-name", text: "Barb AraAnn")
expect(page).to have_selector(".email", text: "barb@example.com")
expect(page).to have_selector(".reason", text: "<p>Because they do good work</p>")
expect(page).to have_selector(".reason", text: reason)
end

# Edit the reviewer
Expand Down

0 comments on commit 580ac81

Please sign in to comment.