spec/ndd/rspec/matchers/shared_examples.rb in ndd-rspec-0.1.1 vs spec/ndd/rspec/matchers/shared_examples.rb in ndd-rspec-1.0.0
- old
+ new
@@ -1,8 +1,8 @@
# encoding: utf-8
require 'spec_helper'
-shared_examples_for "an RSpec matcher" do |options|
+shared_examples_for 'an RSpec matcher' do |options|
let(:valid_value) { options.fetch(:valid_value) }
let(:invalid_value) { options.fetch(:invalid_value) }
it 'matches a valid value when using #== so it can be composed' do