Sha256: 4da60656b58f93c7ea896795af755a08f7bbf097012d9d55a5ad0fc69a4984a7

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

shared_examples_for type: :recorder do
  it { should respond_to(:add) }

  it { should respond_to(:generate!) }

  describe "#add" do
    it "should accept an argument" do
      expect do
        subject.add(double(save_screenshot: true))
      end.to_not raise_error
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
capybara-flow-0.2.2 spec/support/shared_examples/a_recorder.rb
capybara-flow-0.2.1 spec/support/shared_examples/a_recorder.rb
capybara-animate-0.1.0 spec/support/shared_examples/a_recorder.rb