rspec / rspec/rspec-activemodel-mocks
Warning in console
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 119
- Forks
- 31
- Avg merge
- 5h 47m
- Merged PRs (30d)
- 2
Description
After the gem is added to the Gemfile starting console gives the message
irb: warn: can't alias context from irb_context.
Gemfile at the moment
source 'https://rubygems.org'
ruby '2.1.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.5'
# Use postgresql as the database for Active Record
gem 'pg'
# assets
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
gem 'compass-rails'
gem 'fancy-buttons'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# auth
gem 'authlogic'
gem 'cancancan'
# views
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
gem 'haml-rails'
gem 'simple_form'
gem 'wice_grid'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
group :development do
# i18n
gem 'active_record_model_and_rspec_enhanced_templates'
gem 'advanced_haml_scaffold_generator'
gem 'factory_girl_fixtures_template'
gem 'i18n_scaffold_controller_template'
gem 'i18n_scaffold_generator'
gem 'i18n_yaml_sorter', require: false
gem 'jbuilder_rspec_generator'
gem 'rspec_rails_scaffold_templates'
gem 'translations_sync'
# docs
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
end
group :test, :development do
gem 'factory_girl_rails'
gem 'guard'
gem 'guard-rspec'
gem 'quiet_assets'
gem 'rspec-activemodel-mocks'
gem 'rspec-rails'
gem 'zeus', require: false
# Metrics
gem 'rubocop', require: false
gem 'brakeman', require: false
end
group :test do
gem 'capybara'
gem 'database_cleaner'
gem 'email_spec'
gem 'poltergeist'
gem 'shoulda-matchers'
end
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the warning when starting the console with the provided Gemfile, which uses Ruby 2.1.2, Rails 4.1.5, and rspec-activemodel-mocks. Trace which dependency emits the IRB alias warning and confirm the console starts without it; the issue does not mention a source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100