summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-14 12:18:02 -0600
committermo khan <mo.khan@gmail.com>2020-04-14 12:18:02 -0600
commit1f2128c4a2dd18f6c05535e702f288c2472844d1 (patch)
tree1fff7ea922249b038ccf578d3963a4ea889c5a51 /spec
initial commit
Diffstat (limited to 'spec')
-rw-r--r--spec/spandx/gitlab_spec.rb9
-rw-r--r--spec/spec_helper.rb14
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