Sha256: 5599f9649c39d0ac4ab2b37d118f1d1de11d9e726b3dd94191ad27a82f46a93c

Contents?: true

Size: 306 Bytes

Versions: 38

Compression:

Stored size: 306 Bytes

Contents

RSpec.describe Symphonia::RendererHelper::QueryRender do
  let(:user) { FactoryBot.create :user }
  let(:query) { spy("Query") }
  subject { described_class.new helper, query }
  describe "#css_classes" do
    it "active" do
      expect(subject.css_classes(user)).to eq "status--active"
    end
  end

end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
symphonia-6.0.6 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-6.0.5 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-6.0.2 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-6.0.1 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-6.0.0 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-5.0.6 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-5.0.5 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-5.0.4 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-5.0.3 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-5.0.0 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-4.2.0 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-4.1.3 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-4.1.2 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-4.1.1 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-4.1.0 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-4.0.1 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-4.0.0 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-3.4.0 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-3.3.4 spec/helpers/symphonia/renderer_helper_spec.rb
symphonia-3.3.3 spec/helpers/symphonia/renderer_helper_spec.rb