jmuheim / base Goto Github PK
View Code? Open in Web Editor NEWPre-configured basic Rails project which aims to initialize a new project fast and painless - simply fork it!
Pre-configured basic Rails project which aims to initialize a new project fast and painless - simply fork it!
Before:
require 'rails_helper'
describe UsersController do
describe 'routing' do
it 'routes to #index' do
expect(get('/users')).to route_to('users#index')
end
Now:
require "rails_helper"
RSpec.describe BoilerplatesController, type: :routing do
describe "routing" do
it "routes to #index" do
expect(:get => "/boilerplates").to route_to("boilerplates#index")
end
# To make chrome driver work, we need to monkey patch active record, otherwise we get an "SQLite3::BusyException: database is locked". See http://stackoverflow.com/questions/29387097.
class ActiveRecord::Base
mattr_accessor :shared_connection
@@shared_connection = nil
def self.connection
@@shared_connection || retrieve_connection
end
end
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
$ rake
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
/Users/josh/.rvm/rubies/ruby-2.0.0-p353/bin/ruby -S rspec ./spec/controllers/dashboards_controller_spec.rb ./spec/helpers/dashboards_helper_spec.rb ./spec/views/dashboards/show.html.slim_spec.rb
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
3/3 |======================================================= 100 =======================================================>| Time: 00:00:00
Pending:
DashboardsHelper add some examples to (or delete) /Users/josh/Documents/Work/Sientia/tests/transition/spec/helpers/dashboards_helper_spec.rb
# No reason given
# ./spec/helpers/dashboards_helper_spec.rb:14
dashboards/show.html.slim add some examples to (or delete) /Users/josh/Documents/Work/Sientia/tests/transition/spec/views/dashboards/show.html.slim_spec.rb
# No reason given
# ./spec/views/dashboards/show.html.slim_spec.rb:4
Finished in 0.04166 seconds
3 examples, 0 failures, 2 pending
Randomized with seed 18287
/Users/josh/.rvm/rubies/ruby-2.0.0-p353/bin/ruby -S rspec ./spec/controllers/dashboards_controller_spec.rb ./spec/helpers/dashboards_helper_spec.rb ./spec/views/dashboards/show.html.slim_spec.rb
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
3/3 |======================================================= 100 =======================================================>| Time: 00:00:00
Pending:
DashboardsHelper add some examples to (or delete) /Users/josh/Documents/Work/Sientia/tests/transition/spec/helpers/dashboards_helper_spec.rb
# No reason given
# ./spec/helpers/dashboards_helper_spec.rb:14
dashboards/show.html.slim add some examples to (or delete) /Users/josh/Documents/Work/Sientia/tests/transition/spec/views/dashboards/show.html.slim_spec.rb
# No reason given
# ./spec/views/dashboards/show.html.slim_spec.rb:4
Finished in 0.04079 seconds
3 examples, 0 failures, 2 pending
Randomized with seed 13756
I have contacted the owner. Let's see what happens. Otherwise we should remove it, as it doesn't add "real" value than just being fancy.
At the moment, we are using i18n-tasks-use t('.title')
work-around whenever we call headline_with_flash
. It would be nice to extend the i18n-tasks scanner though so we don't have to do this.
There doesn't seem to be any progress anymore, so we should remove it and configure our pry enhancements ourselves.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.