mirror of
https://github.com/jimeh/bunnyrun.git
synced 2026-02-18 23:46:39 +00:00
Move specs into specs/lib
This commit is contained in:
12
.rubocop.yml
12
.rubocop.yml
@@ -9,3 +9,15 @@ Documentation:
|
||||
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: ruby19_no_mixed_keys
|
||||
|
||||
Metrics/BlockLength:
|
||||
Exclude:
|
||||
- spec/**/*_spec.rb
|
||||
|
||||
Metrics/ModuleLength:
|
||||
Exclude:
|
||||
- spec/**/*_spec.rb
|
||||
|
||||
RSpec/FilePath:
|
||||
Exclude:
|
||||
- 'spec/lib/bunnyrun_spec.rb'
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
|
||||
RSpec.describe Bunnyrun do
|
||||
it 'has a version number' do
|
||||
expect(Bunnyrun::VERSION).not_to be nil
|
||||
end
|
||||
|
||||
it 'does something useful' do
|
||||
expect(false).to eq(true)
|
||||
end
|
||||
end
|
||||
9
spec/lib/bunnyrun_spec.rb
Normal file
9
spec/lib/bunnyrun_spec.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
|
||||
RSpec.describe BunnyRun do
|
||||
it 'has a version number' do
|
||||
expect(BunnyRun::VERSION).not_to be nil
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user