Sha256: d4bd30289cdad8047899d009e0a7dce39bd709aa94528b36dcc4263d46c2af08

Contents?: true

Size: 632 Bytes

Versions: 8

Compression:

Stored size: 632 Bytes

Contents

Given /^I already have a valid JSON mock stream containing groups$/ do
  @response = File.open('features/mocks/grouped.json', 'r') {|f| f.readlines.to_s}
end

When /^I group the contents of the mangling object$/ do
  @json_mangler.group
end

Then /^the JSON mangler remains valid$/ do
  assert_equal(@json_mangler, true)
end

Then /^the JSON stream is grouped correctly$/ do
  pending
end

Given /^I already have a valid JSON mock stream containing no groups$/ do
  @response = File.open('features/mocks/non_grouped.json', 'r') {|f| f.readlines.to_s}
end

Then /^the JSON stream remains the same as at the start$/ do
  pending
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
leenookx-json-mangler-0.1.0 features/step_definitions/groups_steps.rb
leenookx-json-mangler-0.1.1 features/step_definitions/groups_steps.rb
leenookx-json-mangler-0.1.2 features/step_definitions/groups_steps.rb
leenookx-json-mangler-0.2.1 features/step_definitions/groups_steps.rb
leenookx-json-mangler-0.2.2 features/step_definitions/groups_steps.rb
leenookx-json-mangler-0.2.3 features/step_definitions/groups_steps.rb
leenookx-json-mangler-0.2.5 features/step_definitions/groups_steps.rb
leenookx-json-mangler-0.2.6 features/step_definitions/groups_steps.rb