Class: RSpec::RailsApp::Artifact::Matchers::GenerateArtifact
- Inherits:
-
HaveArtifact
- Object
- HaveArtifact
- RSpec::RailsApp::Artifact::Matchers::GenerateArtifact
- Defined in:
- lib/generator-spec/rspec/matchers/generate_artifact.rb
Instance Method Summary collapse
-
#initialize(name, artifact_type) ⇒ GenerateArtifact
constructor
A new instance of GenerateArtifact.
- #matches?(generator, &block) ⇒ Boolean
Constructor Details
#initialize(name, artifact_type) ⇒ GenerateArtifact
Returns a new instance of GenerateArtifact.
4 5 6 |
# File 'lib/generator-spec/rspec/matchers/generate_artifact.rb', line 4 def initialize(name, artifact_type) super name, artifact_type end |