Sha256: 4b18f6eb392d5015dce9ae770f24ba3b8c05a6cea2c676449391149e93a3402c

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

Given(/the following JSON schema:$/) do |schema|
  @schema = schema
end

When(/^I run the JSON data generator$/) do
  @output = JsonTestData.generate!(@schema)
end

Then(/^the JSON output should be:$/) do |json|
  expect(@output).to eq json
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
json_test_data-0.1.0 features/step_definitions/json_test_data_steps.rb
json_test_data-0.0.1 features/step_definitions/json_test_data_steps.rb
json_test_data-0.0.1.beta features/step_definitions/json_test_data_steps.rb