class Object
Public Instance Methods
_given(&b)
click to toggle source
# File lib/itesttool.rb, line 13 def _given(&b) before(:each, &b) end
_then(&b)
click to toggle source
# File lib/itesttool.rb, line 15 def _then(&b) it(&b) end
_when(&b)
click to toggle source
# File lib/itesttool.rb, line 14 def _when(&b) let(:res, &b) end
all(meta)
click to toggle source
# File lib/itesttool/custom_matchers.rb, line 87 def all(meta) All.new(meta) end
be_one_and(meta)
click to toggle source
# File lib/itesttool/custom_matchers.rb, line 113 def be_one_and(meta) BeOneAnd.new(meta) end
be_sorted(order)
click to toggle source
# File lib/itesttool/custom_matchers.rb, line 48 def be_sorted(order) BeSorted.new(order) end
eq_schema_of(schema_file)
click to toggle source
# File lib/itesttool/custom_matchers.rb, line 5 def eq_schema_of(schema_file) EqSchemaOf.new(schema_file) end
feature(s, &b)
click to toggle source
# File lib/itesttool.rb, line 11 def feature(s, &b) describe(s, &b) end
include_with(key, values)
click to toggle source
# File lib/itesttool/custom_matchers.rb, line 142 def include_with(key, values) IncludeWith.new(key, values) end
scenario(s, &b)
click to toggle source
# File lib/itesttool.rb, line 12 def scenario(s, &b) describe(s, &b) end