Sha256: 9e29b3e66c65c33be3c76577165e3c3b90fec2793fe699d4a875106bf608fbf6
Contents?: true
Size: 940 Bytes
Versions: 18
Compression:
Stored size: 940 Bytes
Contents
# frozen_string_literal: true require "spec_helper" require "generators/doorkeeper/views_generator" describe Doorkeeper::Generators::ViewsGenerator do include GeneratorSpec::TestCase tests Doorkeeper::Generators::ViewsGenerator destination File.expand_path("tmp/dummy", __dir__) before :each do prepare_destination end it "create all views" do run_generator assert_file "app/views/doorkeeper/applications/_form.html.erb" assert_file "app/views/doorkeeper/applications/edit.html.erb" assert_file "app/views/doorkeeper/applications/index.html.erb" assert_file "app/views/doorkeeper/applications/new.html.erb" assert_file "app/views/doorkeeper/applications/show.html.erb" assert_file "app/views/doorkeeper/authorizations/error.html.erb" assert_file "app/views/doorkeeper/authorizations/new.html.erb" assert_file "app/views/doorkeeper/authorized_applications/index.html.erb" end end
Version data entries
18 entries across 18 versions & 1 rubygems