diff options
author | Jared Norman <jared@super.gd> | 2018-12-30 15:53:31 -0800 |
---|---|---|
committer | Jared Norman <jared@super.gd> | 2018-12-30 16:11:29 -0800 |
commit | be044a6bbc2bca4f36d6f94968602cb148659e6c (patch) | |
tree | 456c8582debebcfbe87442e61c63b38ede7117d0 /spec |
Initial commit
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 14 | ||||
-rw-r--r-- | spec/super_good/solidus_taxjar_spec.rb | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..a9a704f --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,14 @@ +require "bundler/setup" +require "super_good/solidus_taxjar" + +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 diff --git a/spec/super_good/solidus_taxjar_spec.rb b/spec/super_good/solidus_taxjar_spec.rb new file mode 100644 index 0000000..6195fff --- /dev/null +++ b/spec/super_good/solidus_taxjar_spec.rb @@ -0,0 +1,5 @@ +RSpec.describe SuperGood::SolidusTaxJar do + it "has a version number" do + expect(SuperGood::SolidusTaxJar::VERSION).not_to be nil + end +end |