Sha256: a3a4fb20614d479dbb178e0cd197406658b5d7263014531d223e820ff57f2e53
Contents?: true
Size: 634 Bytes
Versions: 13
Compression:
Stored size: 634 Bytes
Contents
require 'spec_helper' RSpec.describe 'bug_report_templates' do subject do Bundler.with_clean_env do Dir.chdir(chdir_path) do system({'ACTIVE_ADMIN_PATH' => active_admin_root}, Gem.ruby, template_path, out: File::NULL) end end end let(:active_admin_root) { File.expand_path('../..', __FILE__) } let(:chdir_path) { File.join(active_admin_root, 'lib', 'bug_report_templates') } context 'when runs active_admin_master.rb' do let(:template_path) { 'active_admin_master.rb' } it 'passes' do expect(subject).to be_truthy end end end
Version data entries
13 entries across 13 versions & 3 rubygems