examples/test_spec.rb in rutabaga-3.0.2 vs examples/test_spec.rb in rutabaga-3.1.0
- old
+ new
@@ -1,15 +1,16 @@
+# frozen_string_literal: true
+
require 'spec_helper'
-describe "should find the feature file using the root (and monkey patching the result)" do
- feature "examples/test2.feature"
+describe 'should find feature file using root (and monkey patch result)' do
+ feature 'examples/test2.feature'
- step "that :first + :second is calculated" do |first, second|
+ step 'that :first + :second is calculated' do |first, second|
@first = first
@second = second
end
- step "my result is :result" do |result|
+ step 'my result is :result' do |result|
expect(@first.to_i + @second.to_i - 1).to eq(result.to_i)
end
-
end