riot 0.10.6 → 0.10.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/riot.rb +2 -2
- data/riot.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.7
|
data/lib/riot.rb
CHANGED
@@ -6,8 +6,8 @@ require 'riot/assertion'
|
|
6
6
|
require 'riot/assertion_macros'
|
7
7
|
|
8
8
|
module Riot
|
9
|
-
def self.context(description, &definition)
|
10
|
-
root_contexts <<
|
9
|
+
def self.context(description, context_class = Context, &definition)
|
10
|
+
root_contexts << context_class.new(description, &definition)
|
11
11
|
end
|
12
12
|
|
13
13
|
def self.root_contexts; @root_contexts ||= []; end
|
data/riot.gemspec
CHANGED