test/lib/vedeu/repository/command_test.rb in vedeu-0.0.20 vs test/lib/vedeu/repository/command_test.rb in vedeu-0.0.21
- old
+ new
@@ -6,11 +6,11 @@
let(:described_instance) { described_class.new(attributes) }
let(:subject) { described_instance }
let(:attributes) {
{
name: 'dummy',
- klass: DummyCommand,
+ entity: DummyCommand,
options: {
keyword: "dummy",
keypress: "d"
}
}
@@ -27,10 +27,10 @@
it 'sets an instance variable' do
subject.instance_variable_get('@name').must_equal('dummy')
end
it 'sets an instance variable' do
- subject.instance_variable_get('@klass').must_equal(DummyCommand)
+ subject.instance_variable_get('@entity').must_equal(DummyCommand)
end
it 'sets an instance variable' do
subject.instance_variable_get('@keyword').must_equal('dummy')
end