lib/lopata.rb in lopata-0.1.6 vs lib/lopata.rb in lopata-0.1.7
- old
+ new
@@ -4,10 +4,11 @@
require 'lopata/scenario_builder'
require 'lopata/scenario'
require 'lopata/step'
require 'lopata/shared_step'
+# Namespace for all Lopata code.
module Lopata
# Define the scenario.
# @see Lopata::ScenarioBuilder.define
def self.define(*args, &block)
Lopata::ScenarioBuilder.define(*args, &block)
@@ -32,10 +33,10 @@
# it 'exists' do
# expect(@user).to_not be_nil
# end
# end
# @param name [String] shared step unique name
- # @param block shared step action sequence definition
+ # @param block [Block] shared step action sequence definition
def self.shared_step(name, &block)
Lopata::SharedStep.register(name, &block)
end
# Yields the global configuration to a block.