Class: RSpec::RailsApp::ArtifactClass::Matchers::HaveArtifactClass
- Inherits:
-
RSpec::RubyContentMatchers::HaveClass
- Object
- RSpec::RubyContentMatchers::HaveClass
- RSpec::RailsApp::ArtifactClass::Matchers::HaveArtifactClass
- Defined in:
- lib/rails_app_spec/matchers/artifact/class/have_artifact_class.rb
Instance Method Summary collapse
Instance Method Details
#failure_message ⇒ Object
4 5 6 7 8 |
# File 'lib/rails_app_spec/matchers/artifact/class/have_artifact_class.rb', line 4 def super puts "Content: #{content}" "Expected the code to have a #{postfix} class called #{name}#{postfix}" end |
#negative_failure_message ⇒ Object
10 11 12 13 14 |
# File 'lib/rails_app_spec/matchers/artifact/class/have_artifact_class.rb', line 10 def super puts "Content: #{content}" "Did not expected there to be the #{postfix} class #{name}#{postfix}" end |