2015-06-21 14:44:33 +00:00
|
|
|
RSpec.describe Mutant::Context::Scope do
|
2015-11-15 20:16:42 +00:00
|
|
|
let(:object) { described_class.new(scope, source_path) }
|
|
|
|
let(:scope) { instance_double(Class, name: instance_double(String)) }
|
|
|
|
let(:source_path) { instance_double(Pathname) }
|
2015-06-21 14:44:33 +00:00
|
|
|
|
|
|
|
describe '#identification' do
|
|
|
|
subject { object.identification }
|
|
|
|
|
|
|
|
it { should be(scope.name) }
|
|
|
|
end
|
|
|
|
end
|