features/built_in_matchers/operators.feature in rspec-expectations-2.11.3 vs features/built_in_matchers/operators.feature in rspec-expectations-2.12.0

- old
+ new

@@ -24,11 +24,11 @@ [1, 2, 3].should =~ [2, 3, 1] # pass [:a, :c, :b].should =~ [:a, :c] # fail Scenario: numeric operator matchers Given a file named "numeric_operator_matchers_spec.rb" with: - """ + """ruby describe 18 do it { should == 18 } it { should be < 20 } it { should be > 15 } it { should be <= 19 } @@ -85,11 +85,11 @@ got: 18 """ Scenario: string operator matchers Given a file named "string_operator_matchers_spec.rb" with: - """ + """ruby describe "Strawberry" do it { should == "Strawberry" } it { should be < "Tomato" } it { should be > "Apple" } it { should be <= "Turnip" } @@ -176,10 +176,10 @@ got: Symbol (using ===) """ Scenario: array operator matchers Given a file named "array_operator_matchers_spec.rb" with: - """ + """ruby describe [1, 2, 3] do it { should == [1, 2, 3] } it { should_not == [1, 3, 2] } it { should =~ [1, 2, 3] }