Sha256: ab81aaf972d14f84b755d748a8bd8d9e511bb69b61127e64540765f0be46e09b

Contents?: true

Size: 225 Bytes

Versions: 8

Compression:

Stored size: 225 Bytes

Contents

When /^prune the '(.*)' branch$/ do |branch|
  @json_mangler.prune( branch )
end

Then /^the '(.*)' branch is removed$/ do |branch|
  response = JSON.parse( @json_mangler.to_json )

  assert_equal(response[branch], nil)
end

Version data entries

8 entries across 8 versions & 1 rubygems

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