Sha256: 5ac511aae4c954daa731bcaac995cc7a75efd8e98262421fd2cf3a30c7e2e994

Contents?: true

Size: 653 Bytes

Versions: 2

Compression:

Stored size: 653 Bytes

Contents

module Spectie
  module Main
    # Creates an example group for the feature.
    #   Feature "User Authentication" do
    #     Scenario "As a user without an account, I want to create one so that I can log in" do
    #       Given :i_do_not_have_an_account
    #       And   :i_want_to_log_in
    #
    #       When  :i_create_an_account
    #
    #       Then  :i_can_log_in
    #     end
    #
    #     def i_do_not_have_an_account
    #       # ... codey code ...
    #     end
    #
    #     # ... remaining scenario statements ...
    #   end
    def Feature(*args, &block)
      describe(*args, &block)
    end
  end
end

include Spectie::Main

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spectie-0.0.4 lib/spectie/main.rb
spectie-0.0.3 lib/spectie/main.rb