Sha256: 18bc1e2972191dc7a94b326ac3d0fb91dc110ac7d7ba24ebbd5259fa6d023c2d

Contents?: true

Size: 291 Bytes

Versions: 5

Compression:

Stored size: 291 Bytes

Contents

require 'spec_helper'

describe 'Given any SitePrism page object' do
  let(:page_object) { SitePrism::Page.new }
  let(:record) { Project.new(12) }

  before do
    visit 'record'
  end

  it 'I can use the have_selector matcher' do
    expect(page_object).to have_record(record)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tedium-0.0.5 spec/features/have_record_spec.rb
tedium-0.0.4 spec/features/have_record_spec.rb
tedium-0.0.3 spec/features/have_record_spec.rb
tedium-0.0.2 spec/features/have_record_spec.rb
tedium-0.0.1 spec/features/have_record_spec.rb