Sha256: 5738518ae138476f14701765976d1c24b9bcb176400424e73baf7096588cc3a1
Contents?: true
Size: 348 Bytes
Versions: 2
Compression:
Stored size: 348 Bytes
Contents
Given /^(.*?) cached_belongs_to (.*?) with cached: "(.*?)"$/ do |model1, model2, cached_attribute| model1.constantize.send(:cached_belongs_to, model2.underscore.to_sym, :caches => cached_attribute) end Then /^(.*?)'s author name should be "(.*?)"$/ do |model_name, author_name| @models[model_name].reload.author_name.should == author_name end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cached_belongs_to-0.0.2 | features/step_definitions/cached_belongs_to_steps.rb |
cached_belongs_to-0.0.1 | features/step_definitions/cached_belongs_to_steps.rb |