saasbook / hw-ruby-intro Goto Github PK
View Code? Open in Web Editor NEWCHIPS 2.5 Ruby Introduction Assignment for Agile Development using Ruby on Rails
Home Page: http://edx.org/course/uc-berkeleyx/uc-berkeleyx-cs169-1x-engineering-1377
CHIPS 2.5 Ruby Introduction Assignment for Agile Development using Ruby on Rails
Home Page: http://edx.org/course/uc-berkeleyx/uc-berkeleyx-cs169-1x-engineering-1377
rspec now in Gemfile - need to adjust README
Rspec couldn't load the ruby_intro.rb
file when I run rspec spec/part1_spec.rb
. After I added require 'ruby_intro.rb'
to part1_spec.rb
it worked. Should the line be added to all the rspec files in this repo?
Update readme to encourage students to use guard instead of autotest
The current instructions ask the student to run individual specs with something like rspec file_spec.rb:6
to run the example group starting at line 6, but this is fragile if the specs change slightly. A better way may be to say rspec --example "part of spec docstring" file_spec.rb
, where the string is an unambiguous match to the docstring of either a particular example or example group.
I did a bundle install
to install rspec, but when I try and run the tests, I get an error:
user:~/workspace/hw-ruby-intro/spec (master) $ rspec part1_spec.rb
/home/ubuntu/workspace/hw-ruby-intro/spec/part1_spec.rb:1:in `require': cannot load such file -- ruby_intro.rb (LoadError)
from /home/ubuntu/workspace/hw-ruby-intro/spec/part1_spec.rb:1:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1361:in `load'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1361:in `block in load_spec_files'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1359:in `each'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1359:in `load_spec_files'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:106:in `setup'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:92:in `run'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:78:in `run'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:45:in `invoke'
from /usr/local/rvm/gems/ruby-2.3.0/gems/rspec-core-3.4.4/exe/rspec:4:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/bin/rspec:23:in `load'
from /usr/local/rvm/gems/ruby-2.3.0/bin/rspec:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
This repo used to hold the ruby intro assignment. Now? Not so much.
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.