Last active
August 29, 2015 14:13
-
-
Save myronmarston/c0fa28496034730ad363 to your computer and use it in GitHub Desktop.
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
puts "RSpec version: #{RSpec::Core::Version::STRING}" | |
describe 'Comments' do | |
before do | |
end | |
context 'can be created' do | |
example 'by the original author' do | |
end | |
example 'by moderators' do | |
end | |
example 'by other users' do | |
end | |
end | |
it 'can be viewed' do | |
end | |
end |
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
# A sample Gemfile | |
source "https://rubygems.org" | |
gem 'rspec', '~> 2.14.0' |
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
GEM | |
remote: https://rubygems.org/ | |
specs: | |
diff-lcs (1.2.5) | |
rspec (2.14.1) | |
rspec-core (~> 2.14.0) | |
rspec-expectations (~> 2.14.0) | |
rspec-mocks (~> 2.14.0) | |
rspec-core (2.14.8) | |
rspec-expectations (2.14.5) | |
diff-lcs (>= 1.1.3, < 2.0) | |
rspec-mocks (2.14.6) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
rspec (~> 2.14.0) |
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
# A sample Gemfile | |
source "https://rubygems.org" | |
gem 'rspec', '~> 3.1.0' |
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
GEM | |
remote: https://rubygems.org/ | |
specs: | |
diff-lcs (1.2.5) | |
rspec (3.1.0) | |
rspec-core (~> 3.1.0) | |
rspec-expectations (~> 3.1.0) | |
rspec-mocks (~> 3.1.0) | |
rspec-core (3.1.7) | |
rspec-support (~> 3.1.0) | |
rspec-expectations (3.1.2) | |
diff-lcs (>= 1.2.0, < 2.0) | |
rspec-support (~> 3.1.0) | |
rspec-mocks (3.1.3) | |
rspec-support (~> 3.1.0) | |
rspec-support (3.1.2) | |
PLATFORMS | |
ruby | |
DEPENDENCIES | |
rspec (~> 3.1.0) |
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
➜ rspec-example-order BUNDLE_GEMFILE=Gemfile-2-14 bundle exec rspec example_spec.rb --format doc | |
RSpec version: 2.14.8 | |
Comments | |
can be viewed | |
can be created | |
by the original author | |
by moderators | |
by other users | |
Finished in 0.00091 seconds | |
4 examples, 0 failures | |
➜ rspec-example-order BUNDLE_GEMFILE=Gemfile-3-1 bundle exec rspec example_spec.rb --format doc | |
RSpec version: 3.1.7 | |
Comments | |
can be viewed | |
can be created | |
by the original author | |
by moderators | |
by other users | |
Finished in 0.00127 seconds (files took 0.11221 seconds to load) | |
4 examples, 0 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment