Sha256: f33546bd2fe5793ff64089d70901eebbb85f6a57a56b8f3c675682e5f2a0dc8a

Contents?: true

Size: 221 Bytes

Versions: 6

Compression:

Stored size: 221 Bytes

Contents

module RSpec::RailsApp::ArtifactFile  
  module Matchers    
    ::Rails3::Assist.artifacts.each do |name|
      class_eval %{
        alias_method :generate_#{name}_file, :have_#{name}_file
      }
    end
  end
end   

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
generator-spec-0.7.4 lib/generator-spec/rspec/matchers/generate_artifact_file.rb
generator-spec-0.7.2 lib/generator-spec/rspec/matchers/generate_artifact_file.rb
generator-spec-0.7.1 lib/generator-spec/rspec/matchers/generate_artifact_file.rb
generator-spec-0.7.0 lib/generator-spec/rspec/matchers/generate_artifact_file.rb
generator-spec-0.6.6 lib/generator-spec/rspec/matchers/generate_artifact_file.rb
generator-spec-0.6.5 lib/generator-spec/rspec/matchers/generate_artifact_file.rb