Sha256: 1f5b5a1ac5f41647033e42f35b544ee5fff03e926564818eb6bc1e214be9366f

Contents?: true

Size: 348 Bytes

Versions: 35

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module CellMatchers
    RSpec::Matchers.define :render_nothing do |_expected_value|
      match do |actual_value|
        expect(actual_value).to have_no_selector("html")
      end

      diffable
    end
  end
end

RSpec.configure do |config|
  config.include Decidim::CellMatchers, type: :cell
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
decidim-dev-0.27.9 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.8 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.7 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.6 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.26.10 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.26.9 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.5 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.26.8 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.4 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.3 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.26.7 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.26.5 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.2 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.1 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.26.4 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.0 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.26.3 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.0.rc2 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.27.0.rc1 lib/decidim/dev/test/rspec_support/cell_matchers.rb
decidim-dev-0.26.2 lib/decidim/dev/test/rspec_support/cell_matchers.rb