Sha256: 4d2ef3bc0cb2968268612f4798fb425a5dd8184a4ce66d34366da9a9dc866dfc

Contents?: true

Size: 358 Bytes

Versions: 5

Compression:

Stored size: 358 Bytes

Contents

RSpec.describe "symphonia/filters/options.html.erb" do
  helper Symphonia::ApplicationHelper
  let(:query) do
    q = Symphonia::Query.new
    q.model = DummyQueryEntity
    q
  end

  it "render" do
    assign(:query, query)
    params[:path] = "/"
    render template: "symphonia/filters/options"
    expect(rendered).to include "form", "checked"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
symphonia-6.0.6 spec/views/filters/options.html.erb_spec.rb
symphonia-6.0.5 spec/views/filters/options.html.erb_spec.rb
symphonia-6.0.2 spec/views/filters/options.html.erb_spec.rb
symphonia-6.0.1 spec/views/filters/options.html.erb_spec.rb
symphonia-6.0.0 spec/views/filters/options.html.erb_spec.rb