Sha256: 3b720b2f8fcd2c03908065fb6c7e4c565682d1ef58b650fc4be242e74f2fb1a2
Contents?: true
Size: 389 Bytes
Versions: 65
Compression:
Stored size: 389 Bytes
Contents
require 'spec_helper' describe 'catalog/_action_menu_partials/_default.html.erb' do let(:document) { double } subject { rendered } context "when neither a editor or a collector" do before do allow(view).to receive(:can?).and_return(false) render 'catalog/_action_menu_partials/default.html.erb', document: document end it { is_expected.to eq '' } end end
Version data entries
65 entries across 65 versions & 1 rubygems