Skip to content

Commit

Permalink
Use only the new Rspec 'expect' syntax
Browse files Browse the repository at this point in the history
Configure Rspec to accept only the new 'expect' syntax (see
http://betterspecs.org/#expect).
  • Loading branch information
mnuessler committed Aug 7, 2015
1 parent 696d320 commit 6a766a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,9 @@ def site(opts = {})
Jekyll::Site.new(conf)
end

# Configure Rspec to accept only the new 'expect' syntax (see http://betterspecs.org/#expect)
config.expect_with :rspec do |c|
c.syntax = :expect
end

end

0 comments on commit 6a766a3

Please sign in to comment.