Class: RSpec::RailsApp::ArtifactClass::Matchers::HaveArtifactSubclass

Inherits:
RSpec::RubyContentMatchers::HaveSubclass
  • Object
show all
Defined in:
lib/rails_app_spec/matchers/artifact/class/have_artifact_subclass.rb

Instance Method Summary collapse

Instance Method Details

#failure_messageObject



4
5
6
7
# File 'lib/rails_app_spec/matchers/artifact/class/have_artifact_subclass.rb', line 4

def failure_message
  super
  "Expected the code to have a #{superclass} subclass called #{full_class}"
end

#negative_failure_messageObject



9
10
11
12
# File 'lib/rails_app_spec/matchers/artifact/class/have_artifact_subclass.rb', line 9

def negative_failure_message
  super
  "Did not expect he code to have a #{superclass} subclass called #{full_class}"
end