Skip to content

Commit

Permalink
Hardcoded strings make Travis sad
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Jan 29, 2015
1 parent 9299207 commit 674ab99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/html/proofer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@
it 'knows how to ignore checks' do
options = { :checks_to_ignore => ['ImageRunner'] }
proofer = make_proofer('', options)
expect(proofer.checks).to eq ['LinkRunner', 'ScriptRunner']
expect(proofer.checks).to_not include 'ImageRunner'
end

it 'does not care about phoney ignored checks' do
options = { :checks_to_ignore => ['This is nothing.'] }
proofer = make_proofer('', options)
expect(proofer.checks).to eq ['ImageRunner', 'LinkRunner', 'ScriptRunner']
expect(proofer.checks.length).to eq 3
end
end
end

0 comments on commit 674ab99

Please sign in to comment.