shared_examples_for "valid resource" do |value| context "with value: #{value.inspect}" do let(:value) { value } it { should be_empty } end end