16 Apr '13, 4pm

Diary of a Rails rescue project, part 2: Testing #rails

Diary of a Rails rescue project, part 2: Testing April 16, 2013 As mentioned previously , I’ve been spending spare cycles getting an outdated Rails application up to speed. Aside from the outdated versions of Rails and pretty much every gem used by the app, there’s a glaring problem: No usable tests. Without tests, I can’t be certain of what the application is supposed to do. What’s more, I can’t be sure that the rather massive changes I’m making to the code’s underpinnings won’t break functionality. While the previous developer did have some tests in place, I quickly lost faith in them: On first run I got a number of deprecation warnings, then 60 percent of the provided tests failed. Upon further inspection, it became evident that most of the files in the spec/ directory were stubs generated by the likes of rails generate scaffold . To address this, I decided to write out...

Full article: http://everydayrails.com/2013/04/16/rails-rescue-2-testin...

Tweets

Integration testing in the absurd land of Rails...

guides.rubyonrails.org 15 Apr '13, 12pm

Testing support was woven into the Rails fabric from the beginning. It wasn’t an “oh! let’s bolt on support for running te...

new blog post. on part 2 of my OOTDs.

nicolekiss.blogspot.com 18 Apr '13, 6am

Dr Chua Soi Lek (Malaysian Minister of Health) Sex Tape Jamie Lynn Spears is Pregnant?!!! Bersih 3.0 Oreo and Milk 10 year...

This is a fallen world and it can be so dark but have Faith. New diary post:

This is a fallen world and it can be so dark bu...

bubzbeauty.com 16 Apr '13, 3pm

Right away, I jumped up from bed and prayed. At that moment, I knew the only thing I could do is pray for God to send ange...

Sell=Suicide - Page 2

forums.condosingapore.com 21 Apr '13, 7am

Quote: Originally Posted by Amber Woods Please do not make personal assumptions about others if you want to enjoy and enga...

Modifying the order of Datetime picker in Rails

api.rubyonrails.org 16 Apr '13, 5am

:use_month_numbers - Set to true if you want to use month numbers rather than month names (e.g. "2" instead of "February")...

2/2 #EuropeanSolarDays 2013

epia.org 15 Apr '13, 10am

“A consistent three-target approach on renewable energy, energy efficiency and emissions reductions will be a critical dri...

Finished filming our online Rails course! Look ...

pragmaticstudio.com 16 Apr '13, 5pm

Subscribe To Our Newsletter Want to get on the fast track to learning Rails? We'll be releasing our new online Rails cours...

@linvanilla Hi! For part time positions, you ca...

nlb.gov.sg 19 Apr '13, 7am

Our online recruitment services will not be available on 20 April 2013 (2:00pm to 10:00pm) due to system maintenance. We a...

Pranking in Singapore part 2 CHECK US OUT AGAIN!

youtube.com 22 Apr '13, 12pm

Unfortunately, this SME-music-content is not available in Germany because GEMA has not granted the respective music publis...

Eat-See Bitsie Korea Part 2

Eat-See Bitsie Korea Part 2

bongqiuqiu.blogspot.com 26 Apr '13, 1am

Went into a small cozy restaurant where the ladyboss was very friendly ^.^ Actually ah, i realise that most of the restaur...

BT Reports: 4 out of every 10 buyers at E&O's P...

forums.condosingapore.com 16 Apr '13, 5pm

4 out of every 10 buyers at E&O's Penang project from Singapore BY PAULINE NG IN KUALA LUMPUR Four out of 10 purchasers at...

Double Shot #1107: Teabag – Javascript test run...

afreshcup.com 15 Apr '13, 11am

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

Everyday Rails Testing with RSpec: Updates for ...

everydayrails.com 25 Apr '13, 2am

Everyday Rails Testing with RSpec: Updates for April, 2013 April 24, 2013 Last week I released another round of updates to...

@_atton resque worker なるものが処理してくれる

oiax.jp 19 Apr '13, 7am

#!/usr/bin/env ruby require File.expand_path('../../config/application', __FILE__) Rails.application.require_environment! ...

Been heads-down working on our online Rails course for the past few months. Just finished filming!

Been heads-down working on our online Rails cou...

pragmaticstudio.com 16 Apr '13, 5pm

We just finished filming our online Rails course based on Rails 4! By popular demand, the format is the same as our online...