Sha256: 8aaa4b5c144b33345f2c79844388259a5cdb57dfcf8e51f0db4c6b13a564f8f4

Contents?: true

Size: 411 Bytes

Versions: 47

Compression:

Stored size: 411 Bytes

Contents

require 'rails_helper'

RSpec.describe '/de/blog/posts', type: :feature do
  let(:resource_class) { Cmor::Blog::Post }
  let(:resource) { create(:cmor_blog_post, published_at: 5.minutes.ago) }
  let(:resources) { create_list(:cmor_blog_post, 3) }

  # List
  it { resources; expect(subject).to implement_index_action(self) }
  
  # Read
  it { expect(subject).to implement_show_action(self).for(resource) }
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
cmor_blog-0.0.51.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.50.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.49.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.48.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.45.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.44.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.43.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.42.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.41.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.40.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.39.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.38.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.37.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.36.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.35.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.34.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.33.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.32.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.31.pre spec/features/de/blog/posts_feature_spec.rb
cmor_blog-0.0.30.pre spec/features/de/blog/posts_feature_spec.rb