Sha256: 8fbf48d5b350fbd37b37c74fe218afbce086025609a2683eac002bd8aaa0a618

Contents?: true

Size: 298 Bytes

Versions: 6

Compression:

Stored size: 298 Bytes

Contents

module RSpec::RailsApp::ArtifactFile  
  module Matchers    
    alias_method :generate_artifact_files, :have_rails_artifact_files
    
    ::Rails3::Assist.artifacts.each do |name|
      class_eval %{
        alias_method :generate_#{name}_files, :have_#{name}_files
      }
    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_files.rb
generator-spec-0.7.2 lib/generator-spec/rspec/matchers/generate_artifact_files.rb
generator-spec-0.7.1 lib/generator-spec/rspec/matchers/generate_artifact_files.rb
generator-spec-0.7.0 lib/generator-spec/rspec/matchers/generate_artifact_files.rb
generator-spec-0.6.6 lib/generator-spec/rspec/matchers/generate_artifact_files.rb
generator-spec-0.6.5 lib/generator-spec/rspec/matchers/generate_artifact_files.rb