File tree 2 files changed +15
-6
lines changed 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
language : ruby
2
+ cache : bundler
3
+ sudo : false
2
4
rvm :
3
5
- 2.0.0
4
6
- 1.9.3
5
7
- 1.9.2
6
8
- jruby-18mode
7
9
- jruby-19mode
8
- - rbx-2.1.1
10
+ - rbx-2
9
11
- ruby-head
10
12
- jruby-head
11
13
- 1.8.7
12
14
- ree
15
+ matrix :
16
+ fast_finish : true
17
+ allow_failures :
18
+ - rvm : jruby-18mode
19
+ - rvm : jruby-19mode
20
+ - rvm : jruby-head
13
21
compiler :
14
22
- clang
15
23
- gcc
16
24
before_script :
17
- - rake clobber
25
+ - bundle update
26
+ - bundle exec rake clobber
Original file line number Diff line number Diff line change 6
6
it "should accept options" do
7
7
lambda {
8
8
RedCloth . new ( "test" , [ :hard_breaks ] )
9
- } . should_not raise_error ( ArgumentError )
9
+ } . should_not raise_error
10
10
end
11
11
end
12
12
13
13
it "should have a VERSION" do
14
- RedCloth . const_defined? ( "VERSION" ) . should be_true
15
- RedCloth ::VERSION . const_defined? ( "STRING" ) . should be_true
14
+ RedCloth . const_defined? ( "VERSION" ) . should be_truthy
15
+ RedCloth ::VERSION . const_defined? ( "STRING" ) . should be_truthy
16
16
end
17
17
18
18
it "should show the version as a string" do
21
21
end
22
22
23
23
it "should have EXTENSION_LANGUAGE" do
24
- RedCloth . const_defined? ( "EXTENSION_LANGUAGE" ) . should be_true
24
+ RedCloth . const_defined? ( "EXTENSION_LANGUAGE" ) . should be_truthy
25
25
RedCloth ::EXTENSION_LANGUAGE . should_not be_empty
26
26
RedCloth ::DESCRIPTION . should include ( RedCloth ::EXTENSION_LANGUAGE )
27
27
end
You can’t perform that action at this time.
0 commit comments