Sha256: 9c2079ad7639fec2abd4d88ec2c59314396bf23a0d5cb050525d14d7f86c9c6b

Contents?: true

Size: 358 Bytes

Versions: 14

Compression:

Stored size: 358 Bytes

Contents

module RailsFile
  module Matcher
    module Helper  
      attr_reader :file, :type, :name  
      
      def msg
        "Rails app to have the #{type} file called #{name} at: #{file}"
      end

      def failure_message
        "Expected #{msg}"
      end

      def negative_failure_message
        "Did not expect #{msg}"
      end   
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rails-app-spec-0.5.0 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.4.0 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.3.3 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.3.2 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.3.1 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.3.0 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.2.16 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.2.15 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.2.14 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.2.13 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.2.12 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.2.10 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.2.8 lib/rails_app_spec/matchers/file/rails_file_helper.rb
rails-app-spec-0.2.7 lib/rails_app_spec/matchers/file/rails_file_helper.rb