Created
May 18, 2018 11:50
-
-
Save thisismydesign/5fd6615d93636f926ffed8c366e96581 to your computer and use it in GitHub Desktop.
Ruby minimal inline RSpec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" | |
gem "rspec" | |
end | |
require "rspec/autorun" | |
RSpec.describe "something" do | |
it "is" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment