Sha256: 0118ff7f0926d9b33aff6eb0d2994c98f33f382aa0fc68fdf57d505a67041dbd
Contents?: true
Size: 231 Bytes
Versions: 113
Compression:
Stored size: 231 Bytes
Contents
RSpec::Matchers.define :fail_redirect_and_flash do |path, flash_message| match do |response| expect(response.status).to eq 302 expect(response).to redirect_to(path) expect(flash[:alert]).to eq flash_message end end
Version data entries
113 entries across 113 versions & 3 rubygems