Skip to content

Common Rails testing configuration for Rspec. This gem can help you share your spec setup across rails engines.

Notifications You must be signed in to change notification settings

amrani/common_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This gem is intended to be installed locally.

Installation

./rails_app $ mkdir -p ./gems
./rails_app $ cd ./gems
./rails_app/gems $ git clone https://github.com/amrani/common_testing.git

Bundle and remove git.

./host_app/gems $ cd ./common_testing
./host_app/gems/common_testing $ rm -rf .git
./host_app/gems/common_testing $ bundle install

For adding it to a rails engine:

# engines/my_engine/Gemfile

group :development, :test do
  gem "common_testing", path: "../../gems/common_testing"
end
# engines/my_engine/my_engine.gemspec
spec.add_development_dependency "common_testing"

About

Common Rails testing configuration for Rspec. This gem can help you share your spec setup across rails engines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages