Using i18n.t in Rspec2 and Rails3

Hello! Can anybody help me with using i18n.t method in rspec test
I try to test this block:

describe “GET ‘home’” do
it “should be successful” do
get ‘home’
response.should have_selector(“title”,
:content => @base_title +
i18n.t( ‘pages.title.home’ ))

but this error appear:

Failure/Error: :content => @base_title + i18n.t( ‘pages.title.home’ ))
undefined method `t’ for

Thanks a lot! Thats work fine!

Try this:

i18n.t(…) => NO
I18n.t(…) => Yes

The i is uppercase => I18n