SmartLogic Logo (443) 451-3001

Blog

Adding Factory Girl steps to Turnip

March 28th, 2012 by

Recently I’ve been trying out Turnip as an alternative to Cucumber. Turnip lets you run Gherkin tests inside RSpec. When using Factory Girl, the provided step definitions can be a huge help when setting up the preconditions for a scenario. Those step definitions do not work with Turnip due to differences from Cucumber in how Turnip defines steps. It turns out that it is very easy to convert the step definitions that Factory Girl can create into step definitions that Turnip can understand.

Read the rest of this entry »

Using RSpec Macros and Metadata

February 21st, 2012 by

I have to hand it to you: you’re a great Rails developer! I just read through the code you’ve been writing for that new project and you’re doing it right. You’ve got fast, isolated tests with RSpec, integration tests in well-written Cucumber scenarios, and have you lost weight or are your controllers skinnier? Just one nit-pick, though—where are your controller specs?
Read the rest of this entry »

Announcing Winners of Free Tickets for Intro to Ruby Course

November 30th, 2010 by

Almost a month ago we made two exciting announcements – the first was that SmartLogic will be hosting an Intro to Ruby1 course on December 10-11, 2010. The second announcement was that we would be giving away one free ticket to a local college/university student and another free ticket away to the co/founder of a local startup company.

Well, we upped the ante and have decided to give away a total of FOUR free tickets. We received a total of 40 submissions and were really encouraged by all of the enthusiastic responses. Without further ado:

Read the rest of this entry »

Intro to Ruby on Rails Course Coming to Baltimore

November 3rd, 2010 by

We are pleased to announce that we’ll be hosting an Intro to Ruby on Rails course December 10-11, 2010. The course will be offered by Jumpstart Lab and taught by our friend Jeff Casimir. Jumpstart Lab offers computer science training – for normal people.

The course will be held in our incubator at ETC Canton and will cost $375 for early bird tickets (purchased before November 20) or $450 for normal-priced tickets.

But wait! There’s more. We’re giving away two free tickets to the course: one for a co/founder of a business located in the Greater Baltimore area (you can be a “technical” or “non-technical” cofounder) and another for a student at a local college or university.
Read the rest of this entry »

TestPilot – Rails Integration Testing Pattern

October 26th, 2010 by

I’ve been thinking about ways to simplify rails integration testing. I wanted to see how well I could do it without cucumber and rspec. I decided to go pure minitest with capybara to help out. What emerged was the TestPilot pattern. Let’s check it out.
Read the rest of this entry »

Testing AJAX with Test::Unit

October 8th, 2010 by

If you want real end-to-end testing of a page with functioning AJAX, use Selenium. But I was interested in doing just a bit of JS speccing to make sure that the AJAX routes I called worked and that the data that came back fit the JS that I had written.

So, I figured with a little capybara and a little therubyracer, I could test my javascript with real route calls. Let’s check it out.
Read the rest of this entry »

Nick’s Highlights from Windy City Rails

September 11th, 2010 by

I attended and spoke at Windy City Rails. I tried to take more notes this time. Out of 6 talks an lightning talks, I have ~500 lines of notes. Enjoy!.
Read the rest of this entry »

Nick’s Highlights from Ruby Hoedown

September 7th, 2010 by

I attended and spoke at Ruby Hoedown 2010. Below are my notes from the conference.

Read the rest of this entry »

Nick’s Highlights from Lone Star Ruby Conf

August 30th, 2010 by

I recently attended and spoke at Lone Star Ruby Conf 2010. I took notes on anything technical I thought would be useful to bring back and use day-to-day at SmartLogic. Keep in mind there were many excellent talks that aren’t on this list, it’s just a snippet of things I wanted to look into more.

Read the rest of this entry »

BohConf 2010: A Retrospective

June 22nd, 2010 by
BohConf 2010

BohConf 2010

After an exhilarating week of hosting the Rails community in Baltimore for RailsConf, I thought it’d be helpful to share the lessons that we learned organizing BohConf.

Community Code Drives Rock!

We had a strong showing of open source authors including Wayne Seguin, Gregory Brown, Aslak Hellesøy, Chris Eppstein, Nick Gauthier and various members of Thoughtbot crew. Wayne (rvm) and Greg (prawn) in particular raved about the contributions they were able to make to their projects. Hey, I even got a new release of Timecop out thanks to a patch from Larry Marburger. Other well known OSS authors that dropped by included Rick Olson, Patrick Peak, and Josh Nichols. If you were there and we missed you, please drop us a line in the comments!

Read the rest of this entry »