1
0
mirror of https://github.com/bumi/rack-lightning synced 2026-02-25 12:20:51 +00:00

Hello World!

This commit is contained in:
2018-10-28 12:35:44 +01:00
commit 038f31601a
17 changed files with 3257 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
require "spec_helper"
RSpec.describe Rack::Lightning do
it "has a version number" do
expect(Rack::Lightning::VERSION).not_to be nil
end
it "does something useful" do
expect(false).to eq(true)
end
end

14
spec/spec_helper.rb Normal file
View File

@@ -0,0 +1,14 @@
require "bundler/setup"
require "rack/lightning"
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