29 Sep '14, 2pm

Write Modular RSpec: RSpec is the most popular test framework in Ruby/Rails environments. Two of its biggest b...

Write Modular RSpec: RSpec is the most popular test framework in Ruby/Rails environments. Two of its biggest b...

require 'rubygems' require 'json' shared_context "Login" do |weatherisgood, email, password| it "succeeds for user: #{email}" do user_login_success = false output = weatherisgood.login(email, password) user_login_success = true unless output.nil? expect(user_login_success).to eq(true) end end shared_context "NEG - Login" do |weatherisgood, email, password| it "does not succeed for invalid user: #{email}" do user_login_failure = false output = weatherisgood.login(email, password) user_login_failure = true if output.nil? expect(user_login_failure).to eq(true) end end shared_context "Create user" do |weatherisgood, firstname, lastname, email, password| it "creates user account for user: #{firstname} #{lastname}" do user_account_created = false output = weatherisgood.create_user(firstname, lastname, email, password) user_account_created = true unless output['data']['success']....

Full article: http://www.sitepoint.com/write-modular-rspec/

Tweets

Why most startups use Ruby on Rails

blog.stickystamp.com 27 Sep '14, 11am

At Stickystamp we use Flask entirely for our backend. I don't really have a solid explanation behind the choice yet, apart...

ASAP Start! Snr Ruby on Rails #Developer with S...

jobserve.com 29 Sep '14, 5pm

Apply your advanced knowledge of building applications to blueprint, develop, deploy, and iterate applications in support ...

Ruby Developer. Rails, RSpec. £40-50k. Central London – XIST4 Recruitment – London Job London

Ruby Developer. Rails, RSpec. £40-50k. Central ...

alljobsintheuk.co.uk 25 Sep '14, 8am

» Your Search result for " ruby developer rails rspec k central london xist recruitment london "

Validating JSON Schemas with an RSpec Matcher

rubyflow.com 23 Sep '14, 7pm

Validating JSON Schemas with an RSpec Matcher Posted by croaky on September 23, 2014 — 0 comments Use RSpec and JSON Schem...

Validating JSON Schemas with an RSpec Matcher

robots.thoughtbot.com 23 Sep '14, 5pm

At thoughtbot we’ve been experimenting with using JSON Schema , a widely-used specification for describing the structure o...

New Job Alert: Ruby on Rails at Govhire (Vancou...

simplyhired.com 30 Sep '14, 7am

Serve a critical role as a programmer on an existing XP based development team. Use existing standards, procedures and pra...

Rapid7 (Metasploit) wants a Ruby/Rails Hacker f...

jobs.github.com 26 Sep '14, 2pm

The Metasploit Applications team at Rapid7 is growing and looking for a couple of talented Rubyists to come work on the wo...

Everyday Rails Testing with RSpec: Now with RSp...

rubyflow.com 07 Oct '14, 3am

Everyday Rails Testing with RSpec: Now with RSpec 3 and more Posted by everydayrails on October 07, 2014 — 0 comments I've...

Datacoup: Ruby on Rails, MongoDB, MySQL, Rspec,...

eden7garden.com 25 Sep '14, 6am

We are 5 man scrappy startup from New York City called Datacoup. Of the 5 members, 2 are only full stack devs and the othe...