rspec practice for WDI class