File: request_generator_spec.rb

package info (click to toggle)
ruby-rspec-rails 8.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,820 kB
  • sloc: ruby: 10,902; sh: 199; makefile: 6
file content (8 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
# Generators are not automatically loaded by Rails
require 'generators/rspec/request/request_generator'
require 'support/generators'

RSpec.describe Rspec::Generators::RequestGenerator, type: :generator do
  setup_default_destination
  it_behaves_like "a request spec generator"
end