diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/spandx/gitlab_spec.rb | 9 | ||||
| -rw-r--r-- | spec/spec_helper.rb | 14 |
2 files changed, 23 insertions, 0 deletions
diff --git a/spec/spandx/gitlab_spec.rb b/spec/spandx/gitlab_spec.rb new file mode 100644 index 0000000..abfacc4 --- /dev/null +++ b/spec/spandx/gitlab_spec.rb @@ -0,0 +1,9 @@ +RSpec.describe Spandx::Gitlab do + it "has a version number" do + expect(Spandx::Gitlab::VERSION).not_to be nil + end + + it "does something useful" do + expect(false).to eq(true) + end +end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..d641367 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,14 @@ +require "bundler/setup" +require "spandx/gitlab" + +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 |
