Sha256: e21ae7d05973ef4f4eeba2b914bd3ce9a0bd695a4e84297127f8ca198973a6f0

Contents?: true

Size: 210 Bytes

Versions: 13

Compression:

Stored size: 210 Bytes

Contents

Given /^I run a test that expects a number like (-?\d+*)$/ do |the_number|
  @the_number = the_number
end

Then /^it should know that it is a number, not a string$/ do
  expect(@the_number).to be_a Integer
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lookout-rack-test-3.0.0 features/step_definitions/number_transform_steps.rb
lookout-rack-test-2.3.1 features/step_definitions/number_transform_steps.rb
lookout-rack-test-2.3.0 features/step_definitions/number_transform_steps.rb
lookout-rack-test-2.2.0 features/step_definitions/number_transform_steps.rb
lookout-rack-test-2.1.0 features/step_definitions/number_transform_steps.rb
lookout-rack-test-2.0.2 features/step_definitions/number_transform_steps.rb
lookout-rack-test-2.0.1 features/step_definitions/number_transform_steps.rb
lookout-rack-test-2.0.0 features/step_definitions/number_transform_steps.rb
lookout-rack-test-1.3.0 features/step_definitions/number_transform_steps.rb
lookout-rack-test-1.2.0 features/step_definitions/number_transform_steps.rb
lookout-rack-test-1.1.0 features/step_definitions/number_transform_steps.rb
lookout-rack-test-1.0.1 features/step_definitions/number_transform_steps.rb
lookout-rack-test-1.0.0 features/step_definitions/number_transform_steps.rb