File tree 6 files changed +47
-0
lines changed
6 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ --color
2
+ --format NyanCatMusicFormatter
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ notifications:
15
15
on_start : always
16
16
on_finish : always
17
17
18
+ script :
19
+ - rake
20
+ - bundle exec rspec spec
21
+
18
22
before_script :
19
23
- " echo 'Before script'"
20
24
# - "sudo service postgresql restart"
Original file line number Diff line number Diff line change
1
+ source :rubygems
2
+
3
+ gem 'rspec'
4
+ gem 'nyan-cat-formatter'
Original file line number Diff line number Diff line change
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.3 )
5
+ nyan-cat-formatter (0.2.0 )
6
+ rspec (2.12.0 )
7
+ rspec-core (~> 2.12.0 )
8
+ rspec-expectations (~> 2.12.0 )
9
+ rspec-mocks (~> 2.12.0 )
10
+ rspec-core (2.12.0 )
11
+ rspec-expectations (2.12.0 )
12
+ diff-lcs (~> 1.1.3 )
13
+ rspec-mocks (2.12.0 )
14
+
15
+ PLATFORMS
16
+ ruby
17
+
18
+ DEPENDENCIES
19
+ nyan-cat-formatter
20
+ rspec
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ task :test do
18
18
#sleep 3
19
19
puts 'about 500 miles, and about 500 more'
20
20
exit 0
21
+
22
+ `rspec --format NyanCatFormatter`
21
23
end
22
24
23
25
task :default => :test
Original file line number Diff line number Diff line change
1
+ describe 'lololo' do
2
+ 500 . times do
3
+ it 'does something' do
4
+ r = rand
5
+ if r < 0.02
6
+ true . should be_false
7
+ elsif r < 0.05
8
+ pending
9
+ else
10
+ true . should be_true
11
+ end
12
+ end
13
+ end
14
+
15
+ end
You can’t perform that action at this time.
0 commit comments