class Shaf::Spec::Fixtures::FixtureNotFound
Public Class Methods
new(name, key = nil)
click to toggle source
Calls superclass method
# File lib/shaf/spec/fixtures.rb, line 5 def initialize(name, key = nil) msg = if key "Instance '#{key}' is not found in fixture '#{name}'! " \ "Either it does not exist in the fixture definition or " \ "there is a circular dependency with your fixtures." else "No such fixture: #{name}" end super(msg) end