Add rspec
This commit is contained in:
1 parent
b8c01ca1d1
commit
60adffbbab
7 files changed
+44
No files matched your search
@@ -0,0 +1,5 @@
|
||||
RSpec.describe Imbecile do
|
||||
it "has a version number" do
|
||||
expect(Imbecile::VERSION).not_to be nil
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
require "bundler/setup"
|
||||
require "imbecile"
|
||||
|
||||
RSpec.configure do |config|
|
||||
# Enable flags like --only-failures and --next-failure
|
||||
config.example_status_persistence_file_path = ".rspec_status"
|
||||
|
||||
# Disable RSpec exposing methods globally on `Module` and `main`
|
||||
config.disable_monkey_patching!
|
||||
|
||||
config.expect_with :rspec do |c|
|
||||
c.syntax = :expect
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user