diff --git a/test_app/spec/unit/test_app/literal/command_spec.rb b/test_app/spec/unit/test_app/literal/command_spec.rb deleted file mode 100644 index 1f61435b..00000000 --- a/test_app/spec/unit/test_app/literal/command_spec.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'spec_helper' - -RSpec.describe TestApp::Literal, '#command' do - subject { object.command(double) } - - let(:object) { described_class.new } - - it { should be(object) } -end diff --git a/test_app/spec/unit/test_app/literal/string_spec.rb b/test_app/spec/unit/test_app/literal/string_spec.rb deleted file mode 100644 index db1b3d90..00000000 --- a/test_app/spec/unit/test_app/literal/string_spec.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'spec_helper' - -RSpec.describe TestApp::Literal, '#string' do - subject { object.string } - - let(:object) { described_class.new } - - it { should eql('string') } -end diff --git a/test_app/spec/unit/test_app/literal_spec.rb b/test_app/spec/unit/test_app/literal_spec.rb new file mode 100644 index 00000000..e27ca1e5 --- /dev/null +++ b/test_app/spec/unit/test_app/literal_spec.rb @@ -0,0 +1,22 @@ +# encoding: utf-8 + +require 'spec_helper' + +RSpec.describe TestApp::Literal do + + describe '#command' do + subject { object.command(double) } + + let(:object) { described_class.new } + + it { should be(object) } + end + + describe '#string' do + subject { object.string } + + let(:object) { described_class.new } + + it { should eql('string') } + end +end