Skip to content

Commit 56d9d9c

Browse files
committed
creating repo
0 parents  commit 56d9d9c

8 files changed

+101
-0
lines changed

.gitignore

Whitespace-only changes.

.learn

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
tags:
2+
- tag1
3+
languages:
4+
- language1
5+
resources: 0

.rspec

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--color
2+
--format documentation
3+
--require spec_helper

Gemfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# A sample Gemfile
2+
source "https://rubygems.org"
3+
4+
# gem "rails"
5+
6+
gem 'rspec'
7+
gem 'pry'

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
tags:
3+
languages:
4+
resources:
5+
---
6+
# First Lab Ruby Learn Cli Nitrous

lib/first_lab_ruby_learn_cli_nitrous.rb

Whitespace-only changes.

spec/first_lab_ruby_learn_cli_nitrous_spec.rb

Whitespace-only changes.

spec/spec_helper.rb

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
require_relative "../lib/first_lab_ruby_learn_cli_nitrous.rb"
2+
3+
# This file was generated by the `rspec --init` command. Conventionally, all
4+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
6+
# file to always be loaded, without a need to explicitly require it in any files.
7+
#
8+
# Given that it is always loaded, you are encouraged to keep this file as
9+
# light-weight as possible. Requiring heavyweight dependencies from this file
10+
# will add to the boot time of your test suite on EVERY test run, even for an
11+
# individual file that may not need all of that loaded. Instead, make a
12+
# separate helper file that requires this one and then use it only in the specs
13+
# that actually need it.
14+
#
15+
# The `.rspec` file also contains a few flags that are not defaults but that
16+
# users commonly want.
17+
#
18+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19+
RSpec.configure do |config|
20+
# The settings below are suggested to provide a good initial experience
21+
# with RSpec, but feel free to customize to your heart's content.
22+
=begin
23+
# These two settings work together to allow you to limit a spec run
24+
# to individual examples or groups you care about by tagging them with
25+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
26+
# get run.
27+
config.filter_run :focus
28+
config.run_all_when_everything_filtered = true
29+
30+
# Many RSpec users commonly either run the entire suite or an individual
31+
# file, and it's useful to allow more verbose output when running an
32+
# individual spec file.
33+
if config.files_to_run.one?
34+
# Use the documentation formatter for detailed output,
35+
# unless a formatter has already been configured
36+
# (e.g. via a command-line flag).
37+
config.default_formatter = 'doc'
38+
end
39+
40+
# Print the 10 slowest examples and example groups at the
41+
# end of the spec run, to help surface which specs are running
42+
# particularly slow.
43+
config.profile_examples = 10
44+
45+
# Run specs in random order to surface order dependencies. If you find an
46+
# order dependency and want to debug it, you can fix the order by providing
47+
# the seed, which is printed after each run.
48+
# --seed 1234
49+
config.order = :random
50+
51+
# Seed global randomization in this process using the `--seed` CLI option.
52+
# Setting this allows you to use `--seed` to deterministically reproduce
53+
# test failures related to randomization by passing the same `--seed` value
54+
# as the one that triggered the failure.
55+
Kernel.srand config.seed
56+
57+
# rspec-expectations config goes here. You can use an alternate
58+
# assertion/expectation library such as wrong or the stdlib/minitest
59+
# assertions if you prefer.
60+
config.expect_with :rspec do |expectations|
61+
# Enable only the newer, non-monkey-patching expect syntax.
62+
# For more details, see:
63+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
64+
expectations.syntax = :expect
65+
end
66+
67+
# rspec-mocks config goes here. You can use an alternate test double
68+
# library (such as bogus or mocha) by changing the `mock_with` option here.
69+
config.mock_with :rspec do |mocks|
70+
# Enable only the newer, non-monkey-patching expect syntax.
71+
# For more details, see:
72+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
73+
mocks.syntax = :expect
74+
75+
# Prevents you from mocking or stubbing a method that does not exist on
76+
# a real object. This is generally recommended.
77+
mocks.verify_partial_doubles = true
78+
end
79+
=end
80+
end

0 commit comments

Comments
 (0)