Sha256: 16ae73d0cb7040b384a57f7fa1ca9286b63a7f3410f72eb29ce1606106df8378

Contents?: true

Size: 389 Bytes

Versions: 20

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

shared_context 'posts' do
  let(:first_post) { Post.find_by_title('First Post') }
  let(:active_post) { Post.find_by_title('Active Post') }
  let(:inactive_post) { Post.find_by_title('Inactive Post') }
  let(:still_enabled_post) { Post.find_by_title('Still Enabled Post') }
  let(:no_longer_enabled_post) { Post.find_by_title('No Longer Enabled Post') }
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
paid_up-0.13.21 spec/support/loaded_site/posts.rb
paid_up-0.13.17 spec/support/loaded_site/posts.rb
paid_up-0.13.16 spec/support/loaded_site/posts.rb
paid_up-0.13.14 spec/support/loaded_site/posts.rb
paid_up-0.13.13 spec/support/loaded_site/posts.rb
paid_up-0.13.12 spec/support/loaded_site/posts.rb
paid_up-0.13.11 spec/support/loaded_site/posts.rb
paid_up-0.13.10 spec/support/loaded_site/posts.rb
paid_up-0.13.9 spec/support/loaded_site/posts.rb
paid_up-0.13.8 spec/support/loaded_site/posts.rb
paid_up-0.13.7 spec/support/loaded_site/posts.rb
paid_up-0.13.6 spec/support/loaded_site/posts.rb
paid_up-0.13.5 spec/support/loaded_site/posts.rb
paid_up-0.13.4 spec/support/loaded_site/posts.rb
paid_up-0.13.3 spec/support/loaded_site/posts.rb
paid_up-0.13.2 spec/support/loaded_site/posts.rb
paid_up-0.13.1 spec/support/loaded_site/posts.rb
paid_up-0.13.0 spec/support/loaded_site/posts.rb
paid_up-0.12.4 spec/support/loaded_site/posts.rb
paid_up-0.12.3 spec/support/loaded_site/posts.rb