spec/lib/polishgeeks/dev-tools/config_spec.rb in polishgeeks-dev-tools-1.2.0 vs spec/lib/polishgeeks/dev-tools/config_spec.rb in polishgeeks-dev-tools-1.2.1
- old
+ new
@@ -44,27 +44,9 @@
end
it { subject.setup(&block) }
end
- describe '#detect_framework' do
- before do
- subject. detect_framework
- end
-
- describe '#rails?' do
- context 'when Rails is not defined' do
- it { expect(subject.rails?).to eq false }
- end
- end
-
- describe '#sinatra?' do
- context 'when Sinatra is not defined' do
- it { expect(subject.sinatra?).to eq false }
- end
- end
- end
-
describe '#initialize' do
described_class::COMMANDS.each do |attribute|
it "should have #{attribute} command turned on by default" do
expect(subject.public_send(attribute)).to eq true
end