wenwei63029869 / trippr Goto Github PK
View Code? Open in Web Editor NEWA journal that is created by you and your important others
A journal that is created by you and your important others
The test for add_guests route passes which mean the event.add_guest method should work. Also, I tested the method manually in console. It works fine too. See if you guys can figure out what I did wrong in the test. It might have to do with the Rspec setting.
You might run into a problem when you run bundle exec Rspec
for the first time when you create your first test case:
/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5.2/lib/active_record/connection_adapters/postgresql_adapter.rb:661:in
rescue in connect': FATAL: database "Trippr_test" does not exist (ActiveRecord::NoDatabaseError)`
The reason is that you didn't create the tables in your test database first. Therefore, run bin/rake db:migrate
before you write any tests. Then run rake db:test:load
. That should fix the problem.
Here is a post on how to solve it: http://stackoverflow.com/questions/19209865/rspec-leaves-record-in-test-database
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.