Sha256: b4d87c739f426841fb4d80ad6aa546c4e100c216d0cd754fcd87fbf28af50254

Contents?: true

Size: 176 Bytes

Versions: 5

Compression:

Stored size: 176 Bytes

Contents

Given /^no (.*) exists with an? (.*) of "([^\"]*)"$/ do |klass_name, attribute, value|
  klass_name.classify.constantize.send(:"find_by_#{attribute}", value).should be_nil
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree-0.11.4 features/step_definitions/model_steps.rb
spree-0.11.3 features/step_definitions/model_steps.rb
spree-0.11.2 features/step_definitions/model_steps.rb
spree-0.11.1 features/step_definitions/model_steps.rb
spree-0.11.0 features/step_definitions/model_steps.rb